home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / games / 2a / applicat.ion / ibmpro.hex < prev    next >
Text File  |  1985-05-29  |  10KB  |  260 lines

  1. ****************************************************************
  2. *
  3. *    IBM PROPRINTER Drive Configuration Table  v1.1  01-14-86
  4. *       By Randy Holcomb and Todd Meitzner
  5. *
  6. *    This file contains tables defining the code sequences
  7. *    to be sent to the printer to perform various functions
  8. *    and to access the characters from codes in the Atari
  9. *    character set.
  10. *
  11. ****************************************************************
  12.  
  13. *
  14. * Name of printer
  15. * ===============
  16. *
  17. IBM Proprinter
  18.  
  19. *
  20. * Miscellaneous configurable variables
  21. * ====================================
  22. *
  23. * 1: printer type, 0=dot matrix, 1=daisy wheel
  24. *    Note if printer type is 0 the following 4 variables are never used.
  25. * 2: unit width of one character
  26. * 3: unit height of one line
  27. * 4: Approximate middle of carriage after formfeed
  28. * 5: Carriage shift for bold overstrike
  29. *
  30. 0, 0, 0, 0, 0
  31.  
  32. *
  33. * Printer characteristics
  34. * =======================
  35. *
  36. * This table specifies the printer command sequences.
  37. * If the top bit of a code is set, then this indicates the position
  38. * of a parameter passed to the printer. The code whose top bit is set
  39. * in this table is added to the parameter passed before being sent to the
  40. * printer. It is not used in all command sequences, only in those where 
  41. * the printer requires  a variable value such as the length of a vertical 
  42. * tab.
  43. *
  44. * 0                               * Character width
  45. 1, D, A                           * Linefeed WITH return
  46. * 2                               * Forward print
  47. * 3                               * Reverse print
  48. * 4, 1B, 42, 80, 0, B             * Vertical tab to line            
  49. * 5, 1B, 44, 80, 0, 9             * Absolute horizontal tab 
  50. 6, 1B, 45                         * Draft bold on
  51. 7, 1B, 46, 1B, 49, 0              * Draft bold off
  52. 8, 1B, 45                         * NLQ bold on                                  
  53. 9, 1B, 46, 1B, 49 2               * NLQ bold off
  54. *A, 1B, 34                        * Draft italic on
  55. *B, 1B, 35                        * Draft italic off
  56. *C, 1B, 78, 0, 1B, 34, 1B, 47     * NLQ italic on
  57. * D, 1B, 48, 1B, 35, 1B, 78, 1    * NLQ italic off
  58. * E                               * Draft light on
  59. * F                               * Draft light off
  60. * 10, 1B, 78, 0                   * NLQ light on
  61. * 11, 1B, 78, 1                   * NLQ light off
  62. 12, 1B, 53, 0                     * Draft superscript on
  63. 13, 1B, 54, 1B, 49, 0             * Draft superscript off
  64. 14, 1B, 53, 0                     * NLQ superscript on
  65. 15, 1B, 54, 1B, 49, 2             * NLQ superscript off
  66. 16, 1B, 53, 1                     * Draft subscript on
  67. 17, 1B, 54, 1B, 49, 0             * Draft subscript off
  68. 18, 1B, 53, 0                     * NLQ subscript on
  69. 19, 1B, 54, 1B, 49, 2             * NLQ subscript off
  70. 1A, 1B, 2D, 1                     * Draft underline on
  71. 1B, 1B, 2D, 0, 1B, 49, 0          * Draft underline off
  72. 1C, 1B, 2D, 1,                    * NLQ underline on
  73. 1D, 1B, 2D, 0, 1B, 49, 2          * NLQ underline off
  74. 1E, C          * Formfeed
  75. 1F, 12         * Horizontal initialisation
  76. * 20           * Vertical initialisation
  77. 21, 1B, 40     * Termination: printer reset
  78. 0              * NULL termination byte
  79.  
  80. *
  81. * Translation Table
  82. * =================
  83. *
  84. * This table provides translation from single Atari input bytes into
  85. * multiple IBM printer codes, and is useful for printing extraneous
  86. * characters such as accented characters etc. All characters are 
  87. * subjected to translation, but if there is no entry in the table for
  88. * a particular code, then the original code is sent to the printer.
  89. *
  90. * The entries must be arranged in ascending order of Atari input
  91. * code. The table is NULL terminated.
  92.  
  93. 0                                  * NULL: print a space 
  94. 1, 7C, 8, 5E            * Up arrow: USA | backspace USA ^
  95. 2, 7C, 8, 76            * Down arrow: USA | backspace USA v
  96. 3, 2D, 8, 3E            * Right arrow: - backspace >
  97. 4, 3C, 8, 2D            * Left arrow: - backspace <
  98. 5             * No close box
  99. 6             * No size box
  100. 7             * No full box
  101. 8             * No tick
  102. 9             * No clock
  103. A             * No bell
  104. B             * No musical note
  105. E             * No LH Atari symbol     
  106. F             * No RH Atari symbol
  107. 10, 30        * LCD 0
  108. 11, 31        * LCD 1
  109. 12, 32        * LCD 2    
  110. 13, 33        * LCD 3
  111. 14, 34        * LCD 4
  112. 15, 35        * LCD 5
  113. 16, 36        * LCD 6
  114. 17, 37        * LCD 7     
  115. 18, 38        * LCD 8
  116. 19, 39        * LCD 9     
  117. 23, 23        * # from USA fount
  118. 24, 24        * $ from USA fount
  119. 40, 40        * @ from USA fount
  120. 5B, 5B        * [ from USA fount
  121. 5C, 5C        * \ from USA fount
  122. 5D, 5D        * ] from USA fount
  123. 5E, 5E        * ^ from USA fount
  124. 60, 60        * ' from USA fount
  125. 7B, 7B        * { from USA fount
  126. 7C, 7C        * | from USA fount
  127. 7D, 7D        * } from USA fount
  128. 7E, 7E        * ~ from USA fount
  129. 7F                       * No triangle
  130. 80, 1B, 36, 80, 1B, 37   * Capital C cedilla: C backspace ,
  131. 81, 1B, 36, 81, 1B, 37   * Lower case u umlaut from German fount
  132. 82, 1B, 36, 82, 1B, 37   * Lower case e acute from French fount 
  133. 83, 1B, 36, 83, 1B, 37   * Lower case a circumflex: a backspace USA ^
  134. 84, 1B, 36, 84, 1B, 37   * Lower case a umlaut from German fount
  135. 85, 1B, 36, 85, 1B, 37   * Lower case a grave from French fount
  136. 86, 1B, 36, 86, 1B, 37   * Lower case a boll from Danish 1 fount
  137. 87, 1B, 36, 87, 1B, 37   * Lower case c cedilla from French fount
  138. 88, 1B, 36, 88, 1B, 37   * Lower case e circumflex: e backspace USA ^
  139. 89, 1B, 36, 89, 1B, 37   * Lower case e umlaut: e backspace French umlaut
  140. 8A, 1B, 36, 8A, 1B, 37   * Lower case e grave from French fount
  141. 8B, 1B, 36, 8B, 1B, 37   * Lower case i umlaut: i backspace French umlaut
  142. 8C, 1B, 36, 8C, 1B, 37   * Lower case i circumflex: i backspace USA ^
  143. 8D, 1B, 36, 8D, 1B, 37   * Lower case i grave from Italian fount
  144. 8E, 1B, 36, 8E, 1B, 37   * Capital A umlaut from German fount
  145. 8F, 1B, 36, 8F, 1B, 37   * Capital A boll from Danish 1 fount
  146. 90, 1B, 36, 90, 1B, 37   * Capital E acute from Norwegian fount
  147. 91, 1B, 36, 91, 1B, 37   * Lower case ae dipthong from Danish 1 fount
  148. 92, 1B, 36, 92, 1B, 37   * Capital AE dipthong from Danish 1 fount
  149. 93, 1B, 36, 93, 1B, 37   * Lower case o circumflex: o backspace USA ^
  150. 94, 1B, 36, 94, 1B, 37   * Lower case o umlaut from German fount
  151. 95, 1B, 36, 95, 1B, 37   * Lower case o grave from Italian fount
  152. 96, 1B, 36, 96, 1B, 37   * Lower case u circumflex: u backspace USA ^
  153. 97, 1B, 36, 97, 1B, 37   * Lower case u grave from French fount
  154. 98, 1B, 36, 98, 1B, 37   * Lower case y umlaut: y backspace French umlaut
  155. 99, 1B, 36, 99, 1B, 37   * Capital O umlaut from German fount
  156. 9A, 1B, 36, 9A, 1B, 37   * Capital U umlaut from German fount
  157. 9B, 1B, 36, 9B, 1B, 37   * c cent: c backspace USA |
  158. 9C, 1B, 36, 9C, 1B, 37   * Pound sterling from UK fount
  159. 9D, 1B, 36, 9D, 1B, 37   * Yen from Japanese fount
  160. 9E, E1                   * Esszet from German fount
  161. 9F, 66                   * Lower case swash f: print f
  162. A0, A0                   * Lower case a acute: a backspace '
  163. A1, A1                   * Lower case i acute: i backspace '
  164. A2, A2                   * Lower case o acute: o backspace '
  165. A3, A3                   * Lower case u acute: u backspace '
  166. A4, A4                   * Lower case n tilde from Spanish fount
  167. A5, A5                   * Capital N tilde from Spanish fount
  168. A6, A6                   * Lower case a underline: a backspace underline
  169. A7, A7                   * Lower case o underline: o backspace underline
  170. A8, A8                   * Inverted ? from Spanish fount
  171. A9, DA                   * top left corner     
  172. AA, BF                   * top right corner
  173. AB, AB                   * 1/2 fraction
  174. AC, AC                   * 1/4 fraction
  175. AD, AD                   * Inverted ! from Spanish fount
  176. AE, AE                   *  <<
  177. AF, AF                   *  >>
  178. B0, 1B, 36, 83, 1B, 37   * Lower case a tilde: a backspace USA ~
  179. B1, 1B, 36, 93, 1B, 37   * Lower case o tilde: o backspace USA ~
  180. B2                       * no Capital crossed O from Danish 1 fount
  181. B3                       * NO Lower case crossed o from Danish 1 fount
  182. B4                       * No lower case oe dipthong
  183. B5                       * No capital OE dipthong
  184. B6, 41                   * No capital A grave: print A
  185. B7, 41                   * No capital A tilde: print A
  186. B8, 4F                   * No capital O tilde: print O
  187. B9                       * No Umlaut from French fount
  188. BA, 27                   * Acute: print '
  189. BB                       * No dagger
  190. BC, 1B, 36, 14, 1B, 37   * No paragraph symbol
  191. BD                       * No copyright symbol
  192. BE                       * No Registered symbol
  193. BF                       * No Trademark symbol
  194. C0, 1B, 36, 98, 1B, 37   * ij ligature: y backspace French umlaut
  195. C1, 59                   * Capital IJ ligature: print Y
  196. C2        * No Hebrew...
  197. C3
  198. C4
  199. C5
  200. C6
  201. C7
  202. C8
  203. C9
  204. CA
  205. CB
  206. CC
  207. CD
  208. CE
  209. CF
  210. D0
  211. D1
  212. D2
  213. D3
  214. D4
  215. D5
  216. D6
  217. D7
  218. D8
  219. D9
  220. DA
  221. DB
  222. DC
  223. DD, 1B, 36, 15, 1B, 37      * Section mark from German fount
  224. DE        * No dropped circumflex
  225. DF        * No infinity
  226. E0, EO    * alpha
  227. E1, E1    * Esszet from German fount     
  228. E2, E2    * YES, Greek....
  229. E3, E3
  230. E4, E4
  231. E5, E5
  232. E6, E6
  233. E7, E7
  234. E8, E8
  235. E9, E9
  236. EA, EA
  237. EB, EB
  238. EC, EC
  239. ED, ED
  240. EE, EE
  241. EF, EF
  242. F0, F0              * Equivalence p             
  243. F1, F1              * q 
  244. F2, F2              * r   
  245. F3, F3              * s
  246. F4, F4              * t                    
  247. F5, F5              * u                        
  248. F6, F6              * v                           
  249. F7, F7              * w                     
  250. F8, F8              * x                                 
  251. F9, F9    * y                  
  252. FA, FA    * z                   
  253. FB, FB    * {                   
  254. FC, FC    * |              
  255. FD, FD    * }               
  256. FE        * No superior 3
  257. FF        * No macron     
  258. 0
  259. əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə